package com.demo.bean9001.mapper.columnManagement;

import com.demo.common.entity.ColumnManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 查询父节点、父类下的子节点
 * 作者：孙佳佳
 * 补充：张佑威
 */
@Mapper
@Repository
public interface ColumnManagementMapper {
    List<ColumnManagement> fatherAll();

    ColumnManagement oneManagement(@Param("id") Integer id);

    List<ColumnManagement> typeAll(@Param("id") String id);


}
